#define _X86_
#define _WIN32_WINNT 0x501
#include <windows.h>
#include "ntdll.h"
#include "winnt.h"
#include <winternl.h>
#include <Tlhelp32.h>


#define _DEBUG_

#define MakePtr(cast, ptr, addValue) \
    (cast)((ULONG_PTR)(ptr) + (ULONG_PTR)(addValue))

#define CalcSize(cast,End,Start) \
	(cast)((ULONG_PTR)(End) - (ULONG_PTR)(Start))

#define LARGE_MESSAGE_SIZE 0x40000
#define LpcPortName L"\\SinApi"
#define LpcCommEventName L"\\LpcCommEvent"
#define LpcSyncEventName L"\\LpcSyncEvent"

#include "SIN32_Structs.h"
#include "SINIMPORT.h"
#include "SIN32_Prototypes.h"
#include "SINHEAP.h"
#include "SINLDR.h"
#include "SINFNLEN32.h"
#include "SINJECT.h"
#include "SINMISC.h"
using namespace Sinject;






